#ifndef KLIENTTCP_H
#define KLIENTTCP_H

#include <boost/asio.hpp>

class KlientTCP {

public:
   KlientTCP(boost::asio::io_service&);
   void polacz(std::string, std::string);
   void wyslij(std::string);
   void zamknij();
   std::string odbierz();
   void ustawZnakKoncaRamki(std::string);

private:   
   boost::asio::io_service &io_service_;
   boost::asio::ip::tcp::socket socket_;
   boost::asio::ip::tcp::resolver resolver_;
   //boost::asio::ip::tcp::resolver::query query_;
   boost::asio::ip::tcp::resolver::iterator it;
   std::string delimiter;
};

#endif // KLIENTTCP_H
